/*package com.tqz.web.flux.demo.servlet;

import java.io.IOException;
import java.util.concurrent.RejectedExecutionHandler;
import java.util.concurrent.ThreadPoolExecutor;

*//**
 * <p>
 *
 * @author tianqingzhao
 * @since 2023/3/4 17:48
 *//*
public class AsyncRejectedExecutionHandler implements RejectedExecutionHandler {

    @Override
    public void rejectedExecution(Runnable r, ThreadPoolExecutor executor) {
        AsyncWrapper asyncWrapper = (AsyncWrapper) r;

        try {
            asyncWrapper.getResponse().getWriter().println("to many request.");
        } catch (IOException e) {
            e.printStackTrace();
        }

        asyncWrapper.getAsyncContext().complete();
    }
}*/
